﻿using BestTrader.Cms.ViewModels;
using FluentValidation;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace BestTrader.Cms.UserCenter.Controllers
{
    internal class ExchangeRateValidation : AbstractValidator<UCExchangeRateModel>
    {
        public ExchangeRateValidation()
        {
            RuleFor(x => x.ProjectPrice).GreaterThan(0).WithMessage("请输入兑换人民币的价格！");

        }
    }
}